package a.f;

import a.d.w;

public class kc
  implements jc, oc
{
  private a.d.o j;
  private fd k;
  public static int l;
  
  public kc(double paramDouble1, double paramDouble2)
  {
    this(paramDouble1, paramDouble2, (byte)0);
  }
  
  public kc(double paramDouble1, double paramDouble2, byte paramByte)
  {
    this(new a.d.o(0.0D, 0.0D, paramDouble1, paramDouble2), paramByte);
  }
  
  public kc(a.d.o paramo)
  {
    this(paramo, (byte)0);
  }
  
  public kc(a.d.o paramo, byte paramByte)
  {
    this(paramo, fd.g(paramByte));
  }
  
  public kc(a.d.o paramo, fd paramfd)
  {
    a(paramo);
    a(paramfd);
  }
  
  public void a(a.d.o paramo)
  {
    this.j = paramo;
  }
  
  public a.d.o a()
  {
    return this.j;
  }
  
  public void a(double paramDouble1, double paramDouble2)
  {
    this.j = new a.d.o(this.j.d(), this.j.e(), paramDouble1, paramDouble2, this.j.i(), this.j.j());
  }
  
  public double b()
  {
    return this.j.a().b();
  }
  
  public double c()
  {
    return this.j.a().c();
  }
  
  public void b(double paramDouble1, double paramDouble2)
  {
    w localw = this.j.a().f();
    this.j.f(paramDouble1 - localw.a, paramDouble2 - localw.b);
  }
  
  public double d()
  {
    return this.j.a().d();
  }
  
  public double e()
  {
    return this.j.a().e();
  }
  
  public void a(byte paramByte)
  {
    this.k = fd.g(paramByte);
  }
  
  public byte f()
  {
    int i = this.k.a();
    int m = this.k.b();
    return (byte)(i | m);
  }
  
  public void a(fd paramfd)
  {
    if (paramfd == null) {
      throw new IllegalArgumentException("null");
    }
    this.k = paramfd;
  }
  
  public fd g()
  {
    return this.k;
  }
  
  public String toString()
  {
    return a().toString() + " " + h();
  }
  
  private String h()
  {
    boolean bool = o.eg;
    int n = o.dg;
    byte b = this.k.a();
    if ((bool) || (b == 0)) {
      return b(b);
    }
    String str = "";
    StringBuffer localStringBuffer = new StringBuffer();
    byte[] arrayOfByte = { 1, 2, 4 };
    int i = 0;
    int m = arrayOfByte.length;
    if (i < m) {
      if (!bool) {
        if ((b & arrayOfByte[i]) == arrayOfByte[i]) {
          localStringBuffer.append(str).append(b(arrayOfByte[i]));
        }
      }
    }
    while (bool)
    {
      str = "|";
      i++;
      if (n == 0) {
        break;
      }
    }
    return localStringBuffer.toString();
  }
  
  private static String b(byte paramByte)
  {
    switch (paramByte)
    {
    case 0: 
      return "PLACE_ANYWHERE";
    case 1: 
      return "PLACE_AT_SOURCE";
    case 2: 
      return "PLACE_AT_TARGET";
    case 4: 
      return "PLACE_AT_CENTER";
    }
    return "ILLEGAL_PLACEMENT: " + paramByte;
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.f.kc

 * JD-Core Version:    0.7.0.1

 */